using System;
using System.Collections.Generic;
using System.Text;

namespace GoogleCalendarReminder
{
    /// <summary>
    /// A class which contains Google account credentials.
    /// </summary>
    public class GoogleAccountCredentials
    {
        #region Private Data Members

        private string _password;
        private string _username;

        #endregion

        #region Constructors

        /// <summary>
        /// Creates a new instance of the GoogleCalendarService.GoogleAccountCredentials class.
        /// </summary>
        /// <param name="username">The username.</param>
        /// <param name="password">The password.</param>
        public GoogleAccountCredentials(string username, string password)
        {
            _username = username;
            _password = password;
        }

        #endregion

        #region Public Properties

        /// <summary>
        /// Gets the password.
        /// </summary>
        public string Password
        {
            get { return _password; }
        }

        /// <summary>
        /// Gets the username.
        /// </summary>
        public string Username
        {
            get { return _username; }
        }

        #endregion
    }
}
